class GetDriverOperateInfo {
  String profitToday;
  String receiptToday;
  String online;
  String refuse;
  String deal;
  String complaint;

  GetDriverOperateInfo(
      {this.profitToday,
      this.receiptToday,
      this.online,
      this.refuse,
      this.deal,
      this.complaint});

  GetDriverOperateInfo.fromJson(Map<String, dynamic> json) {
    profitToday = json['profit_today'];
    receiptToday = json['receipt_today'];
    online = json['online '];
    refuse = json['refuse'];
    deal = json['deal'];
    complaint = json['complaint'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['profit_today'] = this.profitToday;
    data['receipt_today'] = this.receiptToday;
    data['online '] = this.online;
    data['refuse'] = this.refuse;
    data['deal'] = this.deal;
    data['complaint'] = this.complaint;
    return data;
  }
}
